package com.hobobe.tiercel.join;
public enum JoinEnum {
	
	TEST(0,"test","test");
	
	private JoinEnum(int command,String bean,String method){
		this.command=command;
		this.bean=bean;
		this.method=method;
	}
	private int command;
	private String bean;
	private String method;
	public int command() {
		return command;
	}
	public String bean() {
		return bean;
	}
	public String method() {
		return method;
	}
	
	public static JoinEnum valueOfEnum(int command){
		for(JoinEnum je:values()){
			if(je.command==command){
				return je;
			}
		}
		return null;
	}
	
}
